package com.insightg3.android;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import android.app.Application;

public class AndroidApplication extends Application {
	
	private List<SearchResultStatus> selectedItems;
	private List<Map> tranlatedKeys;

	public List<SearchResultStatus> getSelectedItems() {
		return selectedItems;
	}

	public void setSelectedItems(List<SearchResultStatus> selectedItems) {
		this.selectedItems = selectedItems;
	}

    public void addSelectedItem(SearchResultStatus item){
        if(selectedItems == null){
            selectedItems = new ArrayList<SearchResultStatus>();
        }
        selectedItems.add(item);
     }

     public void removeSelectedItem(SearchResultStatus item){
        if(selectedItems != null){
            selectedItems.remove(item);
        }
     }
     
     public List<Map> getResigterKeyword(){
    	 return tranlatedKeys;
     }
     
     public void setTranslatedKeylist(List<Map> keys){
    	 this.tranlatedKeys = keys;
     }
}